/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
"use strict";

var $protobuf = require("protobufjs/minimal");

// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;

// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});

$root.ConZoneManage = (function() {

    /**
     * Properties of a ConZoneManage.
     * @exports IConZoneManage
     * @interface IConZoneManage
     * @property {string|null} [uuid] ConZoneManage uuid
     * @property {string|null} [upper] ConZoneManage upper
     * @property {string|null} [validFlag] ConZoneManage validFlag
     * @property {string|null} [creator] ConZoneManage creator
     * @property {string|null} [createTime] ConZoneManage createTime
     * @property {string|null} [creatorIp] ConZoneManage creatorIp
     * @property {string|null} [lastModifier] ConZoneManage lastModifier
     * @property {string|null} [lastModifyTime] ConZoneManage lastModifyTime
     * @property {string|null} [lastModifierIp] ConZoneManage lastModifierIp
     * @property {string|null} [ownerOrganize] ConZoneManage ownerOrganize
     * @property {string|null} [ownerRole] ConZoneManage ownerRole
     * @property {string|null} [serNum] ConZoneManage serNum
     * @property {string|null} [serMemo] ConZoneManage serMemo
     * @property {string|null} [serAudit] ConZoneManage serAudit
     * @property {string|null} [serUsing] ConZoneManage serUsing
     * @property {string|null} [serLabels] ConZoneManage serLabels
     * @property {string|null} [serFileUrl] ConZoneManage serFileUrl
     * @property {string|null} [serEditorContent] ConZoneManage serEditorContent
     * @property {string|null} [serInputGroupData] ConZoneManage serInputGroupData
     * @property {string|null} [serName] ConZoneManage serName
     * @property {string|null} [serNameEn] ConZoneManage serNameEn
     * @property {string|null} [serNameBgImgUrl] ConZoneManage serNameBgImgUrl
     * @property {string|null} [serImgUrl] ConZoneManage serImgUrl
     * @property {string|null} [serHyperlinks] ConZoneManage serHyperlinks
     * @property {string|null} [serPrice] ConZoneManage serPrice
     * @property {string|null} [serSortNumber] ConZoneManage serSortNumber
     * @property {string|null} [fkZoneType] ConZoneManage fkZoneType
     * @property {string|null} [serGoodsTypeFlag] ConZoneManage serGoodsTypeFlag
     * @property {string|null} [fkGoods] ConZoneManage fkGoods
     * @property {string|null} [fkGoodsIncrementId] ConZoneManage fkGoodsIncrementId
     */

    /**
     * Constructs a new ConZoneManage.
     * @exports ConZoneManage
     * @classdesc Represents a ConZoneManage.
     * @implements IConZoneManage
     * @constructor
     * @param {IConZoneManage=} [properties] Properties to set
     */
    function ConZoneManage(properties) {
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * ConZoneManage uuid.
     * @member {string} uuid
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.uuid = "";

    /**
     * ConZoneManage upper.
     * @member {string} upper
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.upper = "";

    /**
     * ConZoneManage validFlag.
     * @member {string} validFlag
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.validFlag = "";

    /**
     * ConZoneManage creator.
     * @member {string} creator
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.creator = "";

    /**
     * ConZoneManage createTime.
     * @member {string} createTime
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.createTime = "";

    /**
     * ConZoneManage creatorIp.
     * @member {string} creatorIp
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.creatorIp = "";

    /**
     * ConZoneManage lastModifier.
     * @member {string} lastModifier
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.lastModifier = "";

    /**
     * ConZoneManage lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.lastModifyTime = "";

    /**
     * ConZoneManage lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.lastModifierIp = "";

    /**
     * ConZoneManage ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.ownerOrganize = "";

    /**
     * ConZoneManage ownerRole.
     * @member {string} ownerRole
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.ownerRole = "";

    /**
     * ConZoneManage serNum.
     * @member {string} serNum
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serNum = "";

    /**
     * ConZoneManage serMemo.
     * @member {string} serMemo
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serMemo = "";

    /**
     * ConZoneManage serAudit.
     * @member {string} serAudit
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serAudit = "";

    /**
     * ConZoneManage serUsing.
     * @member {string} serUsing
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serUsing = "";

    /**
     * ConZoneManage serLabels.
     * @member {string} serLabels
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serLabels = "";

    /**
     * ConZoneManage serFileUrl.
     * @member {string} serFileUrl
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serFileUrl = "";

    /**
     * ConZoneManage serEditorContent.
     * @member {string} serEditorContent
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serEditorContent = "";

    /**
     * ConZoneManage serInputGroupData.
     * @member {string} serInputGroupData
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serInputGroupData = "";

    /**
     * ConZoneManage serName.
     * @member {string} serName
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serName = "";

    /**
     * ConZoneManage serNameEn.
     * @member {string} serNameEn
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serNameEn = "";

    /**
     * ConZoneManage serNameBgImgUrl.
     * @member {string} serNameBgImgUrl
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serNameBgImgUrl = "";

    /**
     * ConZoneManage serImgUrl.
     * @member {string} serImgUrl
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serImgUrl = "";

    /**
     * ConZoneManage serHyperlinks.
     * @member {string} serHyperlinks
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serHyperlinks = "";

    /**
     * ConZoneManage serPrice.
     * @member {string} serPrice
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serPrice = "";

    /**
     * ConZoneManage serSortNumber.
     * @member {string} serSortNumber
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serSortNumber = "";

    /**
     * ConZoneManage fkZoneType.
     * @member {string} fkZoneType
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.fkZoneType = "";

    /**
     * ConZoneManage serGoodsTypeFlag.
     * @member {string} serGoodsTypeFlag
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.serGoodsTypeFlag = "";

    /**
     * ConZoneManage fkGoods.
     * @member {string} fkGoods
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.fkGoods = "";

    /**
     * ConZoneManage fkGoodsIncrementId.
     * @member {string} fkGoodsIncrementId
     * @memberof ConZoneManage
     * @instance
     */
    ConZoneManage.prototype.fkGoodsIncrementId = "";

    /**
     * Creates a new ConZoneManage instance using the specified properties.
     * @function create
     * @memberof ConZoneManage
     * @static
     * @param {IConZoneManage=} [properties] Properties to set
     * @returns {ConZoneManage} ConZoneManage instance
     */
    ConZoneManage.create = function create(properties) {
        return new ConZoneManage(properties);
    };

    /**
     * Encodes the specified ConZoneManage message. Does not implicitly {@link ConZoneManage.verify|verify} messages.
     * @function encode
     * @memberof ConZoneManage
     * @static
     * @param {IConZoneManage} message ConZoneManage message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneManage.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            writer.uint32(/* id 17, wireType 2 =*/138).string(message.serFileUrl);
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.serEditorContent);
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.serInputGroupData);
        if (message.serName != null && message.hasOwnProperty("serName"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.serName);
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.serNameEn);
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            writer.uint32(/* id 22, wireType 2 =*/178).string(message.serNameBgImgUrl);
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            writer.uint32(/* id 23, wireType 2 =*/186).string(message.serImgUrl);
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            writer.uint32(/* id 24, wireType 2 =*/194).string(message.serHyperlinks);
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serPrice);
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.serSortNumber);
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.fkZoneType);
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.serGoodsTypeFlag);
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.fkGoods);
        if (message.fkGoodsIncrementId != null && message.hasOwnProperty("fkGoodsIncrementId"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.fkGoodsIncrementId);
        return writer;
    };

    /**
     * Encodes the specified ConZoneManage message, length delimited. Does not implicitly {@link ConZoneManage.verify|verify} messages.
     * @function encodeDelimited
     * @memberof ConZoneManage
     * @static
     * @param {IConZoneManage} message ConZoneManage message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneManage.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a ConZoneManage message from the specified reader or buffer.
     * @function decode
     * @memberof ConZoneManage
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {ConZoneManage} ConZoneManage
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneManage.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConZoneManage();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                message.serFileUrl = reader.string();
                break;
            case 18:
                message.serEditorContent = reader.string();
                break;
            case 19:
                message.serInputGroupData = reader.string();
                break;
            case 20:
                message.serName = reader.string();
                break;
            case 21:
                message.serNameEn = reader.string();
                break;
            case 22:
                message.serNameBgImgUrl = reader.string();
                break;
            case 23:
                message.serImgUrl = reader.string();
                break;
            case 24:
                message.serHyperlinks = reader.string();
                break;
            case 25:
                message.serPrice = reader.string();
                break;
            case 26:
                message.serSortNumber = reader.string();
                break;
            case 27:
                message.fkZoneType = reader.string();
                break;
            case 28:
                message.serGoodsTypeFlag = reader.string();
                break;
            case 29:
                message.fkGoods = reader.string();
                break;
                case 30:
                    message.fkGoodsIncrementId = reader.string();
                    break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a ConZoneManage message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof ConZoneManage
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {ConZoneManage} ConZoneManage
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneManage.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a ConZoneManage message.
     * @function verify
     * @memberof ConZoneManage
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    ConZoneManage.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            if (!$util.isString(message.serFileUrl))
                return "serFileUrl: string expected";
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            if (!$util.isString(message.serEditorContent))
                return "serEditorContent: string expected";
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            if (!$util.isString(message.serInputGroupData))
                return "serInputGroupData: string expected";
        if (message.serName != null && message.hasOwnProperty("serName"))
            if (!$util.isString(message.serName))
                return "serName: string expected";
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            if (!$util.isString(message.serNameEn))
                return "serNameEn: string expected";
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            if (!$util.isString(message.serNameBgImgUrl))
                return "serNameBgImgUrl: string expected";
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            if (!$util.isString(message.serImgUrl))
                return "serImgUrl: string expected";
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            if (!$util.isString(message.serHyperlinks))
                return "serHyperlinks: string expected";
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            if (!$util.isString(message.serPrice))
                return "serPrice: string expected";
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            if (!$util.isString(message.serSortNumber))
                return "serSortNumber: string expected";
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            if (!$util.isString(message.fkZoneType))
                return "fkZoneType: string expected";
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            if (!$util.isString(message.serGoodsTypeFlag))
                return "serGoodsTypeFlag: string expected";
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            if (!$util.isString(message.fkGoods))
                return "fkGoods: string expected";
        if (message.fkGoodsIncrementId != null && message.hasOwnProperty("fkGoodsIncrementId"))
            if (!$util.isString(message.fkGoodsIncrementId))
                return "fkGoodsIncrementId: string expected";
        return null;
    };

    /**
     * Creates a ConZoneManage message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof ConZoneManage
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {ConZoneManage} ConZoneManage
     */
    ConZoneManage.fromObject = function fromObject(object) {
        if (object instanceof $root.ConZoneManage)
            return object;
        var message = new $root.ConZoneManage();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.serFileUrl != null)
            message.serFileUrl = String(object.serFileUrl);
        if (object.serEditorContent != null)
            message.serEditorContent = String(object.serEditorContent);
        if (object.serInputGroupData != null)
            message.serInputGroupData = String(object.serInputGroupData);
        if (object.serName != null)
            message.serName = String(object.serName);
        if (object.serNameEn != null)
            message.serNameEn = String(object.serNameEn);
        if (object.serNameBgImgUrl != null)
            message.serNameBgImgUrl = String(object.serNameBgImgUrl);
        if (object.serImgUrl != null)
            message.serImgUrl = String(object.serImgUrl);
        if (object.serHyperlinks != null)
            message.serHyperlinks = String(object.serHyperlinks);
        if (object.serPrice != null)
            message.serPrice = String(object.serPrice);
        if (object.serSortNumber != null)
            message.serSortNumber = String(object.serSortNumber);
        if (object.fkZoneType != null)
            message.fkZoneType = String(object.fkZoneType);
        if (object.serGoodsTypeFlag != null)
            message.serGoodsTypeFlag = String(object.serGoodsTypeFlag);
        if (object.fkGoods != null)
            message.fkGoods = String(object.fkGoods);
        if (object.fkGoodsIncrementId != null)
            message.fkGoodsIncrementId = String(object.fkGoodsIncrementId);
        return message;
    };

    /**
     * Creates a plain object from a ConZoneManage message. Also converts values to other types if specified.
     * @function toObject
     * @memberof ConZoneManage
     * @static
     * @param {ConZoneManage} message ConZoneManage
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    ConZoneManage.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.serFileUrl = "";
            object.serEditorContent = "";
            object.serInputGroupData = "";
            object.serName = "";
            object.serNameEn = "";
            object.serNameBgImgUrl = "";
            object.serImgUrl = "";
            object.serHyperlinks = "";
            object.serPrice = "";
            object.serSortNumber = "";
            object.fkZoneType = "";
            object.serGoodsTypeFlag = "";
            object.fkGoods = "";
            object.fkGoodsIncrementId = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            object.serFileUrl = message.serFileUrl;
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            object.serEditorContent = message.serEditorContent;
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            object.serInputGroupData = message.serInputGroupData;
        if (message.serName != null && message.hasOwnProperty("serName"))
            object.serName = message.serName;
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            object.serNameEn = message.serNameEn;
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            object.serNameBgImgUrl = message.serNameBgImgUrl;
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            object.serImgUrl = message.serImgUrl;
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            object.serHyperlinks = message.serHyperlinks;
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            object.serPrice = message.serPrice;
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            object.serSortNumber = message.serSortNumber;
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            object.fkZoneType = message.fkZoneType;
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            object.serGoodsTypeFlag = message.serGoodsTypeFlag;
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            object.fkGoods = message.fkGoods;
        if (message.fkGoodsIncrementId != null && message.hasOwnProperty("fkGoodsIncrementId"))
            object.fkGoodsIncrementId = message.fkGoodsIncrementId;
        return object;
    };

    /**
     * Converts this ConZoneManage to JSON.
     * @function toJSON
     * @memberof ConZoneManage
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    ConZoneManage.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return ConZoneManage;
})();

$root.ConZoneManageCondition = (function() {

    /**
     * Properties of a ConZoneManageCondition.
     * @exports IConZoneManageCondition
     * @interface IConZoneManageCondition
     * @property {string|null} [uuid] ConZoneManageCondition uuid
     * @property {string|null} [upper] ConZoneManageCondition upper
     * @property {string|null} [validFlag] ConZoneManageCondition validFlag
     * @property {string|null} [creator] ConZoneManageCondition creator
     * @property {string|null} [createTime] ConZoneManageCondition createTime
     * @property {string|null} [creatorIp] ConZoneManageCondition creatorIp
     * @property {string|null} [lastModifier] ConZoneManageCondition lastModifier
     * @property {string|null} [lastModifyTime] ConZoneManageCondition lastModifyTime
     * @property {string|null} [lastModifierIp] ConZoneManageCondition lastModifierIp
     * @property {string|null} [ownerOrganize] ConZoneManageCondition ownerOrganize
     * @property {string|null} [ownerRole] ConZoneManageCondition ownerRole
     * @property {string|null} [serNum] ConZoneManageCondition serNum
     * @property {string|null} [serMemo] ConZoneManageCondition serMemo
     * @property {string|null} [serAudit] ConZoneManageCondition serAudit
     * @property {string|null} [serUsing] ConZoneManageCondition serUsing
     * @property {string|null} [serLabels] ConZoneManageCondition serLabels
     * @property {Array.<string>|null} [uuidList] ConZoneManageCondition uuidList
     * @property {string|null} [createTimeOUTSET] ConZoneManageCondition createTimeOUTSET
     * @property {string|null} [createTimeFINISH] ConZoneManageCondition createTimeFINISH
     * @property {string|null} [lastModifyTimeOUTSET] ConZoneManageCondition lastModifyTimeOUTSET
     * @property {string|null} [lastModifyTimeFINISH] ConZoneManageCondition lastModifyTimeFINISH
     * @property {Array.<string>|null} [serAuditList] ConZoneManageCondition serAuditList
     * @property {Array.<string>|null} [serFileUrl] ConZoneManageCondition serFileUrl
     * @property {Array.<string>|null} [serEditorContent] ConZoneManageCondition serEditorContent
     * @property {string|null} [serName] ConZoneManageCondition serName
     * @property {string|null} [serNameEn] ConZoneManageCondition serNameEn
     * @property {string|null} [serNameBgImgUrl] ConZoneManageCondition serNameBgImgUrl
     * @property {string|null} [serImgUrl] ConZoneManageCondition serImgUrl
     * @property {string|null} [serHyperlinks] ConZoneManageCondition serHyperlinks
     * @property {string|null} [serPrice] ConZoneManageCondition serPrice
     * @property {string|null} [serSortNumber] ConZoneManageCondition serSortNumber
     * @property {string|null} [fkZoneType] ConZoneManageCondition fkZoneType
     * @property {string|null} [serGoodsTypeFlag] ConZoneManageCondition serGoodsTypeFlag
     * @property {string|null} [fkGoods] ConZoneManageCondition fkGoods
     */

    /**
     * Constructs a new ConZoneManageCondition.
     * @exports ConZoneManageCondition
     * @classdesc Represents a ConZoneManageCondition.
     * @implements IConZoneManageCondition
     * @constructor
     * @param {IConZoneManageCondition=} [properties] Properties to set
     */
    function ConZoneManageCondition(properties) {
        this.uuidList = [];
        this.serAuditList = [];
        this.serFileUrl = [];
        this.serEditorContent = [];
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * ConZoneManageCondition uuid.
     * @member {string} uuid
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.uuid = "";

    /**
     * ConZoneManageCondition upper.
     * @member {string} upper
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.upper = "";

    /**
     * ConZoneManageCondition validFlag.
     * @member {string} validFlag
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.validFlag = "";

    /**
     * ConZoneManageCondition creator.
     * @member {string} creator
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.creator = "";

    /**
     * ConZoneManageCondition createTime.
     * @member {string} createTime
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.createTime = "";

    /**
     * ConZoneManageCondition creatorIp.
     * @member {string} creatorIp
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.creatorIp = "";

    /**
     * ConZoneManageCondition lastModifier.
     * @member {string} lastModifier
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.lastModifier = "";

    /**
     * ConZoneManageCondition lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.lastModifyTime = "";

    /**
     * ConZoneManageCondition lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.lastModifierIp = "";

    /**
     * ConZoneManageCondition ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.ownerOrganize = "";

    /**
     * ConZoneManageCondition ownerRole.
     * @member {string} ownerRole
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.ownerRole = "";

    /**
     * ConZoneManageCondition serNum.
     * @member {string} serNum
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serNum = "";

    /**
     * ConZoneManageCondition serMemo.
     * @member {string} serMemo
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serMemo = "";

    /**
     * ConZoneManageCondition serAudit.
     * @member {string} serAudit
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serAudit = "";

    /**
     * ConZoneManageCondition serUsing.
     * @member {string} serUsing
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serUsing = "";

    /**
     * ConZoneManageCondition serLabels.
     * @member {string} serLabels
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serLabels = "";

    /**
     * ConZoneManageCondition uuidList.
     * @member {Array.<string>} uuidList
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.uuidList = $util.emptyArray;

    /**
     * ConZoneManageCondition createTimeOUTSET.
     * @member {string} createTimeOUTSET
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.createTimeOUTSET = "";

    /**
     * ConZoneManageCondition createTimeFINISH.
     * @member {string} createTimeFINISH
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.createTimeFINISH = "";

    /**
     * ConZoneManageCondition lastModifyTimeOUTSET.
     * @member {string} lastModifyTimeOUTSET
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.lastModifyTimeOUTSET = "";

    /**
     * ConZoneManageCondition lastModifyTimeFINISH.
     * @member {string} lastModifyTimeFINISH
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.lastModifyTimeFINISH = "";

    /**
     * ConZoneManageCondition serAuditList.
     * @member {Array.<string>} serAuditList
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serAuditList = $util.emptyArray;

    /**
     * ConZoneManageCondition serFileUrl.
     * @member {Array.<string>} serFileUrl
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serFileUrl = $util.emptyArray;

    /**
     * ConZoneManageCondition serEditorContent.
     * @member {Array.<string>} serEditorContent
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serEditorContent = $util.emptyArray;

    /**
     * ConZoneManageCondition serName.
     * @member {string} serName
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serName = "";

    /**
     * ConZoneManageCondition serNameEn.
     * @member {string} serNameEn
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serNameEn = "";

    /**
     * ConZoneManageCondition serNameBgImgUrl.
     * @member {string} serNameBgImgUrl
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serNameBgImgUrl = "";

    /**
     * ConZoneManageCondition serImgUrl.
     * @member {string} serImgUrl
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serImgUrl = "";

    /**
     * ConZoneManageCondition serHyperlinks.
     * @member {string} serHyperlinks
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serHyperlinks = "";

    /**
     * ConZoneManageCondition serPrice.
     * @member {string} serPrice
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serPrice = "";

    /**
     * ConZoneManageCondition serSortNumber.
     * @member {string} serSortNumber
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serSortNumber = "";

    /**
     * ConZoneManageCondition fkZoneType.
     * @member {string} fkZoneType
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.fkZoneType = "";

    /**
     * ConZoneManageCondition serGoodsTypeFlag.
     * @member {string} serGoodsTypeFlag
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.serGoodsTypeFlag = "";

    /**
     * ConZoneManageCondition fkGoods.
     * @member {string} fkGoods
     * @memberof ConZoneManageCondition
     * @instance
     */
    ConZoneManageCondition.prototype.fkGoods = "";

    ConZoneManageCondition.prototype.fkZoneTemplate = "";

    /**
     * Creates a new ConZoneManageCondition instance using the specified properties.
     * @function create
     * @memberof ConZoneManageCondition
     * @static
     * @param {IConZoneManageCondition=} [properties] Properties to set
     * @returns {ConZoneManageCondition} ConZoneManageCondition instance
     */
    ConZoneManageCondition.create = function create(properties) {
        return new ConZoneManageCondition(properties);
    };

    /**
     * Encodes the specified ConZoneManageCondition message. Does not implicitly {@link ConZoneManageCondition.verify|verify} messages.
     * @function encode
     * @memberof ConZoneManageCondition
     * @static
     * @param {IConZoneManageCondition} message ConZoneManageCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneManageCondition.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.uuidList != null && message.uuidList.length)
            for (var i = 0; i < message.uuidList.length; ++i)
                writer.uint32(/* id 17, wireType 2 =*/138).string(message.uuidList[i]);
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.createTimeOUTSET);
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.createTimeFINISH);
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.lastModifyTimeOUTSET);
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.lastModifyTimeFINISH);
        if (message.serAuditList != null && message.serAuditList.length)
            for (var i = 0; i < message.serAuditList.length; ++i)
                writer.uint32(/* id 22, wireType 2 =*/178).string(message.serAuditList[i]);
        if (message.serFileUrl != null && message.serFileUrl.length)
            for (var i = 0; i < message.serFileUrl.length; ++i)
                writer.uint32(/* id 23, wireType 2 =*/186).string(message.serFileUrl[i]);
        if (message.serEditorContent != null && message.serEditorContent.length)
            for (var i = 0; i < message.serEditorContent.length; ++i)
                writer.uint32(/* id 24, wireType 2 =*/194).string(message.serEditorContent[i]);
        if (message.serName != null && message.hasOwnProperty("serName"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serName);
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.serNameEn);
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.serNameBgImgUrl);
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.serImgUrl);
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.serHyperlinks);
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.serPrice);
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            writer.uint32(/* id 31, wireType 2 =*/250).string(message.serSortNumber);
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            writer.uint32(/* id 32, wireType 2 =*/258).string(message.fkZoneType);
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            writer.uint32(/* id 33, wireType 2 =*/266).string(message.serGoodsTypeFlag);
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            writer.uint32(/* id 34, wireType 2 =*/274).string(message.fkGoods);
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            writer.uint32(/* id 35, wireType 2 =*/282).string(message.fkZoneTemplate);
        return writer;
    };

    /**
     * Encodes the specified ConZoneManageCondition message, length delimited. Does not implicitly {@link ConZoneManageCondition.verify|verify} messages.
     * @function encodeDelimited
     * @memberof ConZoneManageCondition
     * @static
     * @param {IConZoneManageCondition} message ConZoneManageCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneManageCondition.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a ConZoneManageCondition message from the specified reader or buffer.
     * @function decode
     * @memberof ConZoneManageCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {ConZoneManageCondition} ConZoneManageCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneManageCondition.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConZoneManageCondition();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                if (!(message.uuidList && message.uuidList.length))
                    message.uuidList = [];
                message.uuidList.push(reader.string());
                break;
            case 18:
                message.createTimeOUTSET = reader.string();
                break;
            case 19:
                message.createTimeFINISH = reader.string();
                break;
            case 20:
                message.lastModifyTimeOUTSET = reader.string();
                break;
            case 21:
                message.lastModifyTimeFINISH = reader.string();
                break;
            case 22:
                if (!(message.serAuditList && message.serAuditList.length))
                    message.serAuditList = [];
                message.serAuditList.push(reader.string());
                break;
            case 23:
                if (!(message.serFileUrl && message.serFileUrl.length))
                    message.serFileUrl = [];
                message.serFileUrl.push(reader.string());
                break;
            case 24:
                if (!(message.serEditorContent && message.serEditorContent.length))
                    message.serEditorContent = [];
                message.serEditorContent.push(reader.string());
                break;
            case 25:
                message.serName = reader.string();
                break;
            case 26:
                message.serNameEn = reader.string();
                break;
            case 27:
                message.serNameBgImgUrl = reader.string();
                break;
            case 28:
                message.serImgUrl = reader.string();
                break;
            case 29:
                message.serHyperlinks = reader.string();
                break;
            case 30:
                message.serPrice = reader.string();
                break;
            case 31:
                message.serSortNumber = reader.string();
                break;
            case 32:
                message.fkZoneType = reader.string();
                break;
            case 33:
                message.serGoodsTypeFlag = reader.string();
                break;
            case 34:
                message.fkGoods = reader.string();
                break;
            case 35:
                message.fkZoneTemplate = reader.string();
                break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a ConZoneManageCondition message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof ConZoneManageCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {ConZoneManageCondition} ConZoneManageCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneManageCondition.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a ConZoneManageCondition message.
     * @function verify
     * @memberof ConZoneManageCondition
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    ConZoneManageCondition.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.uuidList != null && message.hasOwnProperty("uuidList")) {
            if (!Array.isArray(message.uuidList))
                return "uuidList: array expected";
            for (var i = 0; i < message.uuidList.length; ++i)
                if (!$util.isString(message.uuidList[i]))
                    return "uuidList: string[] expected";
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            if (!$util.isString(message.createTimeOUTSET))
                return "createTimeOUTSET: string expected";
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            if (!$util.isString(message.createTimeFINISH))
                return "createTimeFINISH: string expected";
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            if (!$util.isString(message.lastModifyTimeOUTSET))
                return "lastModifyTimeOUTSET: string expected";
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            if (!$util.isString(message.lastModifyTimeFINISH))
                return "lastModifyTimeFINISH: string expected";
        if (message.serAuditList != null && message.hasOwnProperty("serAuditList")) {
            if (!Array.isArray(message.serAuditList))
                return "serAuditList: array expected";
            for (var i = 0; i < message.serAuditList.length; ++i)
                if (!$util.isString(message.serAuditList[i]))
                    return "serAuditList: string[] expected";
        }
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl")) {
            if (!Array.isArray(message.serFileUrl))
                return "serFileUrl: array expected";
            for (var i = 0; i < message.serFileUrl.length; ++i)
                if (!$util.isString(message.serFileUrl[i]))
                    return "serFileUrl: string[] expected";
        }
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent")) {
            if (!Array.isArray(message.serEditorContent))
                return "serEditorContent: array expected";
            for (var i = 0; i < message.serEditorContent.length; ++i)
                if (!$util.isString(message.serEditorContent[i]))
                    return "serEditorContent: string[] expected";
        }
        if (message.serName != null && message.hasOwnProperty("serName"))
            if (!$util.isString(message.serName))
                return "serName: string expected";
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            if (!$util.isString(message.serNameEn))
                return "serNameEn: string expected";
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            if (!$util.isString(message.serNameBgImgUrl))
                return "serNameBgImgUrl: string expected";
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            if (!$util.isString(message.serImgUrl))
                return "serImgUrl: string expected";
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            if (!$util.isString(message.serHyperlinks))
                return "serHyperlinks: string expected";
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            if (!$util.isString(message.serPrice))
                return "serPrice: string expected";
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            if (!$util.isString(message.serSortNumber))
                return "serSortNumber: string expected";
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            if (!$util.isString(message.fkZoneType))
                return "fkZoneType: string expected";
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            if (!$util.isString(message.serGoodsTypeFlag))
                return "serGoodsTypeFlag: string expected";
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            if (!$util.isString(message.fkGoods))
                return "fkGoods: string expected";
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            if (!$util.isString(message.fkZoneTemplate))
                return "fkZoneTemplate: string expected";
        return null;
    };

    /**
     * Creates a ConZoneManageCondition message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof ConZoneManageCondition
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {ConZoneManageCondition} ConZoneManageCondition
     */
    ConZoneManageCondition.fromObject = function fromObject(object) {
        if (object instanceof $root.ConZoneManageCondition)
            return object;
        var message = new $root.ConZoneManageCondition();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.uuidList) {
            if (!Array.isArray(object.uuidList))
                throw TypeError(".ConZoneManageCondition.uuidList: array expected");
            message.uuidList = [];
            for (var i = 0; i < object.uuidList.length; ++i)
                message.uuidList[i] = String(object.uuidList[i]);
        }
        if (object.createTimeOUTSET != null)
            message.createTimeOUTSET = String(object.createTimeOUTSET);
        if (object.createTimeFINISH != null)
            message.createTimeFINISH = String(object.createTimeFINISH);
        if (object.lastModifyTimeOUTSET != null)
            message.lastModifyTimeOUTSET = String(object.lastModifyTimeOUTSET);
        if (object.lastModifyTimeFINISH != null)
            message.lastModifyTimeFINISH = String(object.lastModifyTimeFINISH);
        if (object.serAuditList) {
            if (!Array.isArray(object.serAuditList))
                throw TypeError(".ConZoneManageCondition.serAuditList: array expected");
            message.serAuditList = [];
            for (var i = 0; i < object.serAuditList.length; ++i)
                message.serAuditList[i] = String(object.serAuditList[i]);
        }
        if (object.serFileUrl) {
            if (!Array.isArray(object.serFileUrl))
                throw TypeError(".ConZoneManageCondition.serFileUrl: array expected");
            message.serFileUrl = [];
            for (var i = 0; i < object.serFileUrl.length; ++i)
                message.serFileUrl[i] = String(object.serFileUrl[i]);
        }
        if (object.serEditorContent) {
            if (!Array.isArray(object.serEditorContent))
                throw TypeError(".ConZoneManageCondition.serEditorContent: array expected");
            message.serEditorContent = [];
            for (var i = 0; i < object.serEditorContent.length; ++i)
                message.serEditorContent[i] = String(object.serEditorContent[i]);
        }
        if (object.serName != null)
            message.serName = String(object.serName);
        if (object.serNameEn != null)
            message.serNameEn = String(object.serNameEn);
        if (object.serNameBgImgUrl != null)
            message.serNameBgImgUrl = String(object.serNameBgImgUrl);
        if (object.serImgUrl != null)
            message.serImgUrl = String(object.serImgUrl);
        if (object.serHyperlinks != null)
            message.serHyperlinks = String(object.serHyperlinks);
        if (object.serPrice != null)
            message.serPrice = String(object.serPrice);
        if (object.serSortNumber != null)
            message.serSortNumber = String(object.serSortNumber);
        if (object.fkZoneType != null)
            message.fkZoneType = String(object.fkZoneType);
        if (object.serGoodsTypeFlag != null)
            message.serGoodsTypeFlag = String(object.serGoodsTypeFlag);
        if (object.fkGoods != null)
            message.fkGoods = String(object.fkGoods);
        if (object.fkZoneTemplate != null)
            message.fkZoneTemplate = String(object.fkZoneTemplate);
        return message;
    };

    /**
     * Creates a plain object from a ConZoneManageCondition message. Also converts values to other types if specified.
     * @function toObject
     * @memberof ConZoneManageCondition
     * @static
     * @param {ConZoneManageCondition} message ConZoneManageCondition
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    ConZoneManageCondition.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.arrays || options.defaults) {
            object.uuidList = [];
            object.serAuditList = [];
            object.serFileUrl = [];
            object.serEditorContent = [];
        }
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.createTimeOUTSET = "";
            object.createTimeFINISH = "";
            object.lastModifyTimeOUTSET = "";
            object.lastModifyTimeFINISH = "";
            object.serName = "";
            object.serNameEn = "";
            object.serNameBgImgUrl = "";
            object.serImgUrl = "";
            object.serHyperlinks = "";
            object.serPrice = "";
            object.serSortNumber = "";
            object.fkZoneType = "";
            object.serGoodsTypeFlag = "";
            object.fkGoods = "";
            object.fkZoneTemplate = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.uuidList && message.uuidList.length) {
            object.uuidList = [];
            for (var j = 0; j < message.uuidList.length; ++j)
                object.uuidList[j] = message.uuidList[j];
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            object.createTimeOUTSET = message.createTimeOUTSET;
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            object.createTimeFINISH = message.createTimeFINISH;
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            object.lastModifyTimeOUTSET = message.lastModifyTimeOUTSET;
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            object.lastModifyTimeFINISH = message.lastModifyTimeFINISH;
        if (message.serAuditList && message.serAuditList.length) {
            object.serAuditList = [];
            for (var j = 0; j < message.serAuditList.length; ++j)
                object.serAuditList[j] = message.serAuditList[j];
        }
        if (message.serFileUrl && message.serFileUrl.length) {
            object.serFileUrl = [];
            for (var j = 0; j < message.serFileUrl.length; ++j)
                object.serFileUrl[j] = message.serFileUrl[j];
        }
        if (message.serEditorContent && message.serEditorContent.length) {
            object.serEditorContent = [];
            for (var j = 0; j < message.serEditorContent.length; ++j)
                object.serEditorContent[j] = message.serEditorContent[j];
        }
        if (message.serName != null && message.hasOwnProperty("serName"))
            object.serName = message.serName;
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            object.serNameEn = message.serNameEn;
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            object.serNameBgImgUrl = message.serNameBgImgUrl;
        if (message.serImgUrl != null && message.hasOwnProperty("serImgUrl"))
            object.serImgUrl = message.serImgUrl;
        if (message.serHyperlinks != null && message.hasOwnProperty("serHyperlinks"))
            object.serHyperlinks = message.serHyperlinks;
        if (message.serPrice != null && message.hasOwnProperty("serPrice"))
            object.serPrice = message.serPrice;
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            object.serSortNumber = message.serSortNumber;
        if (message.fkZoneType != null && message.hasOwnProperty("fkZoneType"))
            object.fkZoneType = message.fkZoneType;
        if (message.serGoodsTypeFlag != null && message.hasOwnProperty("serGoodsTypeFlag"))
            object.serGoodsTypeFlag = message.serGoodsTypeFlag;
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            object.fkGoods = message.fkGoods;
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            object.fkZoneTemplate = message.fkZoneTemplate;

        return object;
    };

    /**
     * Converts this ConZoneManageCondition to JSON.
     * @function toJSON
     * @memberof ConZoneManageCondition
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    ConZoneManageCondition.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return ConZoneManageCondition;
})();

module.exports = $root;
